package cn.yedong.org.service;


import cn.yedong.basic.service.IBaseService;
import cn.yedong.org.domain.Department;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
//    void save(Department department);
//    void update(Department department);
//    void del(Long id);
//    Department loadById(Long id);
//    List<Department> loadAll();
//
//    //根据接收到的查询参数（分页+高级）返回结果集（总数据量+当前页数据）
//    PageList<Department> queryDept(DepartmentQuery departmentQuery);
//
//    //批量删除
//    void patchDel(List<Long> ids);

    //获取部门树
    List<Department> deprTree();
}
